<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看所有未审批文件</title>
</head>
<body>
<c:if test="${empty requestScope.file}">
        没有词条信息
    </c:if>
<c:if test="${!empty requestScope.entry }">
		 <table border="1" cellpadding="10" cellspacing="0">
            <tr>
                <th>id</th>

                <th>名称</th>

                <th>路径</th>

                <th>创建者id</th>

            </tr>

             

            <c:forEach items= "${file }" var="fl">

                <tr>

                    <td>${fl.id }</td>
					<td>${fl.name }</td>
      				<td>${fl.path }</td>
      				<td>${fl.author_id }</td>
					<td>
					<form method="post" action="/baike/changeEntry?id=${fl.id }">
						<input type="hidden" value="1" name="re">
						<input type="submit" value="通过">
					</form>
					</td>
					<td>
					<form method="post" action="/baike/changeEntry?id=${fl.id }">
						<input type="hidden" value="2" name="re">
						<input type="submit" value="未通过">
					</form>
					</td>
    
                </tr>

            </c:forEach>

        </table>
</c:if>
</body>
</html>